/*
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2025-08-06 15:49:52
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2025-08-06 16:03:21
 * @FilePath: \project\work-tool\my-dev-project\src\utils\index.ts
 * @Description: 
 */
/**
 * 工具函数
 */

export const formatMoney = (value: number | string) => { 
    const num = Number(value)
    return num.toLocaleString('zh-CN', { style: 'currency', currency: 'CNY' })
}

